/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

/**
 *
 * @author rcrida
 */
@Entity
@NamedQueries( {
    @NamedQuery(name="findAllStatuses",
                query="SELECT o FROM Status o WHERE o.deleted = FALSE"),
    @NamedQuery(name="findStatusByName",
                query="SELECT s FROM Status s WHERE s.name = :name")
})
public class Status extends Node implements Serializable {
    private static final long serialVersionUID = 1L;

    public Status() {
    }

    public Status(Node parentNode, String name, String description) {
        super(parentNode, name, description);
    }

}
